# import cv2
import numpy as np

# img_path= 'data_path/test/images/6209.png'
# img = cv2.imread(img_path)
# print(img.shape)
# img = cv2.resize(img, (256,256))


# print(img.shape)
# cv2.imshow('gray_scale',img)
# cv2.waitKey(0)
# cv2.destroyAllWindows()

import scipy.io as sio


data = sio.loadmat('data_path/test/images/Indian_pines_corrected.mat')['indian_pines_corrected']
data = data/data.max() * 255
np.save('data_path/test/images/img.npy',data)


label = sio.loadmat('data_path/test/labels/Indian_pines_gt.mat')['indian_pines_gt']
np.save('data_path/test/images/label.npy',label)
